﻿using System;
using VideoReflector.Models;

namespace VideoReflector.Video
{
    /// <summary>
    /// Event arguments associated with clip currently being played in clip player changing
    /// </summary>
    public class PlayingClipChangedEventArgs : EventArgs
    {
        private ClipTag _newClipTag;

        /// <summary>
        /// Constructor for PlayingClipChangedEventArgs
        /// </summary>
        /// <param name="newClipTag"> ClipTag object corresponding to clip that has just began playing </param>
        public PlayingClipChangedEventArgs(ClipTag newClipTag)
        {
            _newClipTag = newClipTag;
        }

        /// <summary>
        /// The tag of the clip that the player has just changed to
        /// </summary>
        public ClipTag NewClipTag { get { return _newClipTag; } }

    }
}
